package br.ufc.ck0017.syntaxtree;

import br.ufc.ck0017.visitor.Visitor;

public class Program {
  public MainClass mainClass;
  public ClassDeclList classDeclList;

  public Program(MainClass mainClass, ClassDeclList classDeclList) {
    this.mainClass = mainClass;
    this.classDeclList = classDeclList;
  }

  public <T> T accept(Visitor<T> v) {
    return v.visit(this);
  }
}
